package com.visionet.order.entity;

/**
 * @Author: pengjx
 * @Date: 2019-01-18 11:11
 */
public enum OrderStatus {

    PENDING("1","待支付"),
    CANCEL("2","取消"),
    SUCCESS("3","支付成功，订单生效"),

    ;


    private String value;
    private String desc;

    OrderStatus() {
    }

    OrderStatus(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }}
